package cn.iocoder.yudao.module.biz.controller.admin.zmorder.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 订单报分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ZmOrderPageReqVO extends PageParam {

    @Schema(description = "分格式")
    private String subCommpany;

    @Schema(description = "业务类型", example = "1")
    private String bizType;

    @Schema(description = "订单号码")
    private String orderNo;

    @Schema(description = "代理商名称", example = "李四")
    private String agentName;

    @Schema(description = "业务号码")
    private String bizCode;

    @Schema(description = "用户名", example = "张三")
    private String userName;

    @Schema(description = "芝麻免押订单号")
    private String zmOrderNo;

    @Schema(description = "冻结金额")
    private String frozenAmt;

    @Schema(description = "订单状态", example = "1")
    private Integer orderStatus;

    @Schema(description = "竣工时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] completeTime;

    @Schema(description = "下单时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] orderTime;

    @Schema(description = "取消时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] orderCancelTime;

    @Schema(description = "冻结状态", example = "1")
    private Integer frozenStatus;

    @Schema(description = "合约期")
    private Integer contractPeriod;

    @Schema(description = "到期解约")
    private Integer expiration;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}